package com.gzcstec.user.enums;

import lombok.Getter;

@Getter
public enum ResultEnums {
    OK(0 , "成功"),
    LOGIN_FAIL(1 , "登录失败"),
    ROLL_ERROR(2 , "角色权限错误")
    ;

    private Integer code;
    private String message;

    ResultEnums(Integer code , String message) {
        this.code = code;
        this.message = message;
    }
}
